package com.tim.javaApi.reflect;

/**
 * @Description:
 * @Version 1.0, 2021/9/25
 * @Author Tim
 */
public interface Person {

    void showName();

    class Teacher implements Person{
        public static final String A = "1";
        public static String B = "";
        public final String C = "";

        private String name = "Teacher";
        private String age = "12";

        @Override
        public void showName() {
            System.out.println(name);
        }

        public String getName() {
            return name;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age=age;
        }
    }
}
